package com.bstek.uflo.designer.model.node;

import com.bstek.dorado.annotation.PropertyDef;
import com.bstek.uflo.designer.security.annotation.SecurityAttribute;

public class Join extends ImageNode {

	@PropertyDef(label = "允许分支到达数配置")
	@SecurityAttribute
	private boolean useMultiplicity = false;

	@PropertyDef(label = "类型")
	private String multiplicityType;

	@PropertyDef(label = "数字")
	private int multiplicity;

	@PropertyDef(label = "百分百")
	private int percentMultiplicity;

	public int getMultiplicity() {
		return multiplicity;
	}

	public void setMultiplicity(int multiplicity) {
		this.multiplicity = multiplicity;
	}

	public int getPercentMultiplicity() {
		return percentMultiplicity;
	}

	public void setPercentMultiplicity(int percentMultiplicity) {
		this.percentMultiplicity = percentMultiplicity;
	}

	public boolean isUseMultiplicity() {
		return useMultiplicity;
	}

	public void setUseMultiplicity(boolean useMultiplicity) {
		this.useMultiplicity = useMultiplicity;
	}

	public String getMultiplicityType() {
		return multiplicityType;
	}

	public void setMultiplicityType(String multiplicityType) {
		this.multiplicityType = multiplicityType;
	}
}
